//
//  MKTChatMsgTVCellMineBase.m
//  MKUITestApp
//
//  Created by 苏尚进 on 2021/7/8.
//  Copyright © 2021 moon. All rights reserved.
//

#import "MKTChatMsgTVCellMineBase.h"

@implementation MKTChatMsgTVCellMineBase
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.msgUserPicView = [[MKTChatUserPicViewMine alloc] init];
        [self.contentView addSubview:self.msgUserPicView];
    }
    return self;
}
- (void)customLayoutSubviews{
    [super customLayoutSubviews];
}
- (CGSize)customSizeThatFits:(CGSize)size{
    return CGSizeMake(size.width, 44);
}
- (void)customReloadCellModel{
    [super customReloadCellModel];
    MKTChatMsgBase *msg = self.cellModel.modelValue;
    MKTChatUser *user = msg.sender;
    self.msgUserPicView.image = user.picImage;
}
@end
